import os
current_dirctionary = os.getcwd()

for i in range(1,51):
    folder_name = f"test_{i}"
    os.mkdir(os.path.join(current_dirctionary, folder_name))
    print(f"Folder {folder_name} created.")